package com.tjise.eduservice.client;

import com.tjise.commonutils.R;
import org.springframework.stereotype.Component;

import java.util.List;

/**
 * @program: tjise_shixun
 * @description: 服务熔断的兜底方法
 * @author: 郑朝文
 * @create: 2021-06-27 09:22
 **/
@Component
public class VodFileDegradeFeignClient implements VodClient{
    @Override
    public R removeAlyVideo(String id) {
        return R.error().message("服务器断路了...");
    }

    @Override
    public R deleteBatch(List<String> videoIdList) {
        return R.error().message("服务器断路了...");
    }
}


